package com.zzyl.framework;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author robin
 */
@Data
@Component
@ConfigurationProperties(prefix = "huaweicloud")
public class HuaWeiIotConfigProperties {
    // mqtt协议相关配置
    private String ak="HPUA9JF9B6APPUQDYF0E";
    private String sk="YLd8VuyZXT4cu9ItOmmi9KGH5qQ1aidYqJMafNW7";
    private String regionId="cn-east-3";
    private String endpoint="f829065af6.st1.iotda-app.cn-east-3.myhuaweicloud.com";
    private String projectId="ffaffca0795c43d380c7853e94328957";

    // amqp协议相关配置
    private String host="f829065af6.st1.iotda-app.cn-east-3.myhuaweicloud.com";
    private String accessKey="jDPY6ex";
    private String accessCode="IO2U2y4AmmZZCXtC4o9reKJkZFf9vjW5";
    private String queueName="DefaultQueue";
}